/**
 *
 */
package com.yidu.menuProject.action;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yidu.menuProject.model.FoodtypeModel;
import com.yidu.menuProject.service.FoodTypeService;

/**
 * @ author pengyong
 * @date 2018年7月19日 上午10:17:36
 * @ version 1.0
 */
@Controller
@RequestMapping("/foodtype")
public class FoodTypeaction {
	@Resource
	private FoodTypeService foodtypeservice;
	
	@RequestMapping("/selecttypeAll")
	@ResponseBody
	public List<FoodtypeModel> selectAll(){
		return foodtypeservice.selectfoodtypeAll();
	}
	
}
